package com.styles.codingstyle.exception;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Package com.styles.codingstyle.exception
 * @Description: 无相关视图异常, 统一资源跳转
 * @Author 陈建
 * @Create: 2018-05-31 10:19
 * @Version 1.0
 * @Update: message
 */
@Setter
@Getter
@ToString
public class NoViewException extends RuntimeException {

    private Integer code;

    public NoViewException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
